package com.johe.scgcxx.controller.safty;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.studentmanager.dto.ResaultDto;

@RestController // 相当于@controller+@responseBody
@RequestMapping("/safty")
public class LoginController {
     @RequestMapping("/login")
	public ResaultDto login() {
		return ResaultDto.successResault("登陆成功");
	}
}
